Microsoft DirectX 8.1 (C++)

IAMTimelineObj::SetUserData

The SetUserData method sets application-defined persistent data.

Syntax

HRESULT SetUserData(
    BYTE *pData,
    long Size
)

Parameters

pData

Pointer to a buffer containing the data.

Size

Size of the data, in bytes.

Return Value

Returns S_OK if successful, or E_OUTOFMEMORY if there is insufficient memory.

See Also